package com.microservice.base.mapper.hikcommon;

import com.microservice.base.entity.CHkCamera;
import com.microservice.base.mapper.BaseMP;

import java.util.List;

/**
* @author jbx
* @package_name com.microservice.base.mapper 
* @create_date 2020/12/21 9:15
*/
public interface CHkCameraMapper extends BaseMP<CHkCamera> {
  @Override
  void save(CHkCamera cHkCamera);

    @Override
    void saveBatch(List<CHkCamera> list);

    @Override
    CHkCamera get(String indexcode);

    @Override
    List<CHkCamera> queryAll();

  /**
   * 清空表,在每次同步的时候,先清空表,再去插入
   * */
  void truncateTable();
}